package com.ysx.server.mapper;

import com.ysx.server.pojo.entity.OrderDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface OrderDetailMapper {

    @Select("select *from second_hand_trading.order_detail where orderId = #{orderId}")
    OrderDetail selectByOrderIds(Long orderId);

    void save(OrderDetail orderDetail);
}
